using System;

using LocalBoard.Persistence.SqlAccessor;

namespace LocalBoard.Persistence
{
	/// <summary>
	/// Summary description for SqlAccessorFactory.
	/// </summary>
	public class SqlAccessorFactory : IAccessorFactory
	{
		public SqlAccessorFactory()
		{
		}
		#region IAccessorFactory Members

		public IAttachmentAccessor GetAttachmentAccessor()
		{
			return SqlAttachmentAccessor.Instance;
		}

		public IBoardAccessor GetBoardAccessor()
		{
			return SqlBoardAccessor.Instance;
		}

		public IClubAccessor GetClubAccessor()
		{
			return SqlClubAccessor.Instance;
		}

		public ICommentAccessor GetCommentAccessor()
		{
			return SqlCommentAccessor.Instance;
		}

		public IMessageAccessor GetMessageAccessor()
		{
			return SqlMessageAccessor.Instance;
		}

		public IPollItemAccessor GetPollItemAccessor()
		{
			return SqlPollItemAccessor.Instance;
		}

		public IProfileAccessor GetProfileAccessor()
		{
			return SqlProfileAccessor.Instance;
		}

		public IUserRoleAccessor GetUserRoleAccessor()
		{
			return SqlUserRoleAccessor.Instance;
		}

		public IClubRoleAccessor GetClubRoleAccessor()
		{
			return SqlUserRoleAccessor.Instance;
		}

		public IClubProfileAccessor GetClubProfileAccessor()
		{
			return SqlClubProfileAccessor.Instance;
		}

		public IClubCategoryAccessor GetClubCategoryAccessor()
		{
			return SqlClubCategoryAccessor.Instance;
		}
		#endregion
	}
}
